package com.sdry.model.llm;
/** 
* 用户和角色的关系表
* @author lian 
* @version 1.0
* @time 2018年10月21日 下午3:25:12
*/
public class UserRole {

	/**
	 * ID
	 */
	private Long id;
	/**
	 * 用户ID
	 */
	private Long uid;
	/**
	 * 角色ID
	 */
	private Long rid;
	public UserRole(Long id, Long uid, Long rid) {
		super();
		this.id = id;
		this.uid = uid;
		this.rid = rid;
	}
	public UserRole() {
		super();
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getUid() {
		return uid;
	}
	public void setUid(Long uid) {
		this.uid = uid;
	}
	public Long getRid() {
		return rid;
	}
	public void setRid(Long rid) {
		this.rid = rid;
	}
	@Override
	public String toString() {
		return "UserRole [id=" + id + ", uid=" + uid + ", rid=" + rid + "]";
	}
	
}
